﻿using Dapper;
using DomainService.Service.Sys;
using Infrastructure.DataBaseConnect;
using Model.DomainModel.Sys;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Infrastructure.IRepository.Sys
{
    /// <summary>
    /// 数据规则配置仓储接口
    /// </summary>
    public interface ISysDataRuleConfigRepository : IRepository<SysDataRuleConfig>
    {
        /// <summary>
        /// 根据菜单id，获取数据规则配置
        /// </summary>
        /// <param name="menuId">菜单id</param>
        /// <returns>数据规则集合</returns>
        public List<SysDataRuleConfig> GetSysDataRuleConfig(string menuId);
    }
}
